<template>
	<view>
		
		<view class="txt">
			<my-zjlx v-if="cjhzl.length>0"></my-zjlx>
			<view class="txt333" v-else>
				<image src="../../static/40f70c966bc88af46bfaf0d04c832a10.png" mode="widthFix" class="all" @click="tz"></image>
				<p>暂时没有练习成绩哦~~~</p>
				<p>点击图片去做练习吧题目吧！</p>
			</view>
		</view>
	</view>
</template>

<script>
	import {
		mapState
	} from 'vuex'
	export default {
		data() {
			return {

			};
		},
		computed: {
			...mapState('users', ['cjhzl'])
		},
		methods:{
			tz() {
				uni.switchTab({
					url: "/pages/lianxi/lianxi"
				})
			}
		}
	}
</script>

<style lang="scss">
	.txt333 {
		text-align: center;
	}
</style>